from django.urls import path
from doctors.views import DoctorAPIView, DoctorRetrieveAPIView, DoctorInfoAPIView, DoctorIllnessAPIView, AnswerAPIView, DoctorListAPIView

urlpatterns = [
    path('doctor_list/<int:id>/', DoctorAPIView.as_view()),
    path('doctor_info/<int:pk>/', DoctorRetrieveAPIView.as_view()),
    path('doctor_star_info/<int:id>/', DoctorInfoAPIView.as_view()),
    path('doctor_illness/<int:id>/', DoctorIllnessAPIView.as_view()),
    path('get_answer/', AnswerAPIView.as_view()),
    path('doctorList/<int:id>/', DoctorListAPIView.as_view()),
]
